package cn.mux.jdk8.date;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TestSimpleDateFormat {
	public static void main(String[] args) {
		Date date = new Date();
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat("Gyyyy年中第D天");
		String dateStr = simpleDateFormat.format(date);
		System.out.println(dateStr);
		SimpleDateFormat fmt = new SimpleDateFormat("y###MMM##d");
		System.out.println(fmt.format(date));
	}
}
